﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;

namespace Syntezator_mowy.SDDBD
{
    public class Serwer
    {
        public Serwer() { }

        public List<string> get(eDbElement co)
        {
            List<string> ret = new List<string>();

            Getter getter = new Getter(co, ref ret);
            Thread getterThread = new Thread(new ThreadStart(getter.run));

            getterThread.Start();
            getterThread.Join();

            return ret;

        }

        public void run() { }
    }
}
